/**
 * Created by Jie on 2017/2/4.
 */

module.exports = {
    result:function (_err,_message,_obj) {
        var result = {
            error:_err,
            message:_message,
            data:{}
        };
        if((typeof _obj) != 'undefined'){
            result.data = _obj;
        }
        return result;
    }
};
